package com.koron.localdb;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.koron.common.KVBean;

public interface LocalMapper {
	public void create();

	public List<ConnectionBean> list(@Param("alias") String alias);

	public Integer add(ConnectionBean bean);

	public Integer update(ConnectionBean bean);

	public Integer delete(@Param("alias") String alias);

	/**only test*/
	public List<KVBean> listProperties();

	public Integer deleteProperties();

	public Integer addProperty(KVBean bean);
}